package dag

//type DagStruct struct {
//	dag *TDagNode[int]
//}

func main() {
	//d := make([]interface{}, 4)
	//
	//stru0 := DagStruct{}
	//stru0.TDagNode = NewDagNode(1, []int{2})
	//
	//d[0] = stru0
	//stru1 := DagStruct{}
	//stru1.TDagNode = NewDagNode(2, []int{4})
	//d[1] = stru1
	//
	//stru2 := DagStruct{}
	//stru2.TDagNode = NewDagNode(3, []int{2})
	//d[2] = stru2
	//
	//stru3 := DagStruct{}
	//stru3.TDagNode = NewDagNode(4, []int{})
	//d[3] = stru3
	////for _, tt := range tests {
	////	t.Run(tt.name, func(t *testing.T) {
	//info, err := TopologySort[TDAGInt](d)
	//if err == nil {
	//	fmt.Printf("成功！！%v", info)
	//} else {
	//	fmt.Println(err)
	//}
}
